package com.chapter10.codeblock.case_codeblock;

public class codeblock_ {
    public int number;

    {
        System.out.println("代码块被调用");
    }

    public codeblock_(int number) {
        this.number = number;
        System.out.println(number);
    }

    public static void main(String[] args) {
        codeblock_ obj = new codeblock_(2);
    }

}
